home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Hungry Homer
/
CW Source
/
SpriteHandlers.h
< prev
next >
Wrap
Text File
|
1996-06-22
|
610b
|
22 lines
/* Application-dependent definitions */
/* Data structure describing a sprite*/
/* Add new fields as necessary */
/**/
typedef struct SpriteRecord {
/*Game entity data - edit as desired*/
Point speed; /* */
short kind;
/*Sprite data - don't remove*/
Point position; /* Integer screen coordinates! */
GrafPtr face; /* Apprearance of the sprite */
Rect drawingRect; /* Where is it? */
/*List pointers - don't remove*/
struct SpriteRecord *prev, *next; /* Next enity in the list */
} SpriteRecord;
// Decomment this if fixedPointPosition is declared below!
//#define _hasfixedpoint